/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.gov.cemaden.library.interfaces.smp;

import br.gov.cemaden.library.model.smp.CPU;
import br.gov.cemaden.library.model.smp.ExecHardware;
import java.util.List;

/**
 *
 * @author paulo.dias
 */
public interface CPUInterface {
    List<CPU>findAll();
    CPU findById(Long id);
    CPU findByTotalSystemTime(String totalSystemTime);
    CPU findByCacheSize(Double cacheSize);
    CPU findByCorPerSockets(Integer corPerSockets);
    CPU findByModel(String model);
    CPU findByTotalCores(Integer totalCores);
    CPU findByTotalSockets(Integer totalSockets);
    CPU findByVendor(String vendor);
    CPU findByCpuUsage(Double cpuUsage);
    List<CPU> findByExecHardware(ExecHardware execHardware);
    CPU insert(CPU cpu);
    CPU update(CPU cpu);
    void delete(CPU cpu);   
    
}
